﻿<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="generator" content="Aspose.Words for .NET 15.1.0.0" />
<title></title>
</head>
<body>
	<div>
		<h1
			style="font-size: 22pt; line-height: 240%; margin: 17pt 0pt 16.5pt; orphans: 0; page-break-after: avoid; page-break-inside: avoid; text-align: center; widows: 0">
			<span
				style="font-family: KaiTi_GB2312; font-size: 22pt; font-weight: bold">PDF</span><span
				style="font-family: KaiTi_GB2312; font-size: 22pt; font-weight: bold">文档生成测试</span>
		</h1>
		<p
			style="font-size: 10.5pt; line-height: 115%; margin: 0pt 0pt 10pt; orphans: 0; text-align: center; widows: 0">
			<span style="font-family: KaiTi_GB2312; font-size: 10.5pt">创建人：</span><span
				style="font-family: KaiTi_GB2312; font-size: 10.5pt">zcj</span>
		</p>
		<p
			style="font-size: 10.5pt; line-height: 115%; margin: 0pt 0pt 10pt; orphans: 0; text-align: center; widows: 0">
			<span style="font-family: KaiTi_GB2312; font-size: 10.5pt">创建时间：</span><span
				style="font-family: KaiTi_GB2312; font-size: 10.5pt">2018-01-03 16:49:04</span>
		</p>
		<p
			style="font-size: 10.5pt; line-height: 115%; margin: 0pt 0pt 10pt; orphans: 0; text-align: justify; widows: 0">
			<span style="font-family: KaiTi_GB2312; font-size: 10.5pt">&#xa0;</span>
		</p>
		<p style="line-height: 12pt; margin: 0pt 0pt 10pt; text-indent: 21pt">
			<span style="font-family: KaiTi_GB2312; font-size: 12pt">动态生成pdf文档，需要一个模板（HTML文档，使用freemarker模板技术），然后将数据填充进HTML模板中，最后将HTML转成PDF文档（使用flying-saucer-pdf），如果需要生成图片，则使用jfreechart。</span>
		</p>
		<p style="line-height: 12pt; margin: 0pt 0pt 10pt; text-align: center">
			<span style="font-family: KaiTi_GB2312; font-size: 12pt">图片1</span>
		</p>
		<p
			style="font-size: 10.5pt; line-height: 115%; margin: 0pt 0pt 10pt; text-align: center">
			<img src="F:\test\11.png" width="550"
				height="83" alt="IMG_256"
				style="-aw-left-pos: 0pt; -aw-rel-hpos: column; -aw-rel-vpos: paragraph; -aw-top-pos: 0pt; -aw-wrap-type: inline" />
		</p>
		<p style="line-height: 12pt; margin: 0pt 0pt 10pt; text-align: center">
			<span style="font-family: KaiTi_GB2312; font-size: 12pt">表格1</span>
		</p>
		<div style="text-align: center">
			<table cellspacing="0" cellpadding="0"
				style="border-collapse: collapse; margin: 0 auto; width: 426.85pt">
				<tr>
					<td
						style="border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.75pt; border-left-color: #000000; border-left-style: solid; border-left-width: 0.75pt; border-right-color: #000000; border-right-style: solid; border-right-width: 0.75pt; border-top-color: #000000; border-top-style: solid; border-top-width: 0.75pt; padding-left: 5.03pt; padding-right: 5.03pt; vertical-align: top; width: 95.7pt"><p
							style="line-height: 12pt; margin: 0pt 0pt 10pt; text-align: center">
							<span
								style="font-family: KaiTi_GB2312; font-size: 12pt; vertical-align: baseline">序号</span>
						</p></td>
					<td
						style="border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.75pt; border-left-color: #000000; border-left-style: solid; border-left-width: 0.75pt; border-right-color: #000000; border-right-style: solid; border-right-width: 0.75pt; border-top-color: #000000; border-top-style: solid; border-top-width: 0.75pt; padding-left: 5.03pt; padding-right: 5.03pt; vertical-align: top; width: 95.7pt"><p
							style="line-height: 12pt; margin: 0pt 0pt 10pt; text-align: center">
							<span
								style="font-family: KaiTi_GB2312; font-size: 12pt; vertical-align: baseline">用户名</span>
						</p></td>
					<td
						style="border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.75pt; border-left-color: #000000; border-left-style: solid; border-left-width: 0.75pt; border-right-color: #000000; border-right-style: solid; border-right-width: 0.75pt; border-top-color: #000000; border-top-style: solid; border-top-width: 0.75pt; padding-left: 5.03pt; padding-right: 5.03pt; vertical-align: top; width: 95.75pt"><p
							style="line-height: 12pt; margin: 0pt 0pt 10pt; text-align: center">
							<span
								style="font-family: KaiTi_GB2312; font-size: 12pt; vertical-align: baseline">密码</span>
						</p></td>
					<td
						style="border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.75pt; border-left-color: #000000; border-left-style: solid; border-left-width: 0.75pt; border-right-color: #000000; border-right-style: solid; border-right-width: 0.75pt; border-top-color: #000000; border-top-style: solid; border-top-width: 0.75pt; padding-left: 5.03pt; padding-right: 5.03pt; vertical-align: top; width: 95.75pt"><p
							style="line-height: 12pt; margin: 0pt 0pt 10pt; text-align: center">
							<span
								style="font-family: KaiTi_GB2312; font-size: 12pt; vertical-align: baseline">时间</span>
						</p></td>
				</tr>
				<tr>
					<td
						style="border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.75pt; border-left-color: #000000; border-left-style: solid; border-left-width: 0.75pt; border-right-color: #000000; border-right-style: solid; border-right-width: 0.75pt; border-top-color: #000000; border-top-style: solid; border-top-width: 0.75pt; padding-left: 5.03pt; padding-right: 5.03pt; vertical-align: top; width: 95.7pt"><p
							style="line-height: 12pt; margin: 0pt 0pt 10pt">
							<span
								style="font-family: KaiTi_GB2312; font-size: 12pt; vertical-align: baseline">--</span>
						</p></td>
					<td
						style="border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.75pt; border-left-color: #000000; border-left-style: solid; border-left-width: 0.75pt; border-right-color: #000000; border-right-style: solid; border-right-width: 0.75pt; border-top-color: #000000; border-top-style: solid; border-top-width: 0.75pt; padding-left: 5.03pt; padding-right: 5.03pt; vertical-align: top; width: 95.7pt"><p
							style="line-height: 12pt; margin: 0pt 0pt 10pt">
							<span
								style="font-family: KaiTi_GB2312; font-size: 12pt; vertical-align: baseline">--</span>
						</p></td>
					<td
						style="border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.75pt; border-left-color: #000000; border-left-style: solid; border-left-width: 0.75pt; border-right-color: #000000; border-right-style: solid; border-right-width: 0.75pt; border-top-color: #000000; border-top-style: solid; border-top-width: 0.75pt; padding-left: 5.03pt; padding-right: 5.03pt; vertical-align: top; width: 95.75pt"><p
							style="line-height: 12pt; margin: 0pt 0pt 10pt">
							<span
								style="font-family: KaiTi_GB2312; font-size: 12pt; vertical-align: baseline">--</span>
						</p></td>
					<td
						style="border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.75pt; border-left-color: #000000; border-left-style: solid; border-left-width: 0.75pt; border-right-color: #000000; border-right-style: solid; border-right-width: 0.75pt; border-top-color: #000000; border-top-style: solid; border-top-width: 0.75pt; padding-left: 5.03pt; padding-right: 5.03pt; vertical-align: top; width: 95.75pt"><p
							style="line-height: 12pt; margin: 0pt 0pt 10pt">
							<span
								style="font-family: KaiTi_GB2312; font-size: 12pt; vertical-align: baseline">--</span>
						</p></td>
				</tr>
			</table>
		</div>
		<p style="line-height: 12pt; margin: 0pt 0pt 10pt">
			<span style="font-family: KaiTi_GB2312; font-size: 12pt">&#xa0;</span>
		</p>
		<p style="line-height: 12pt; margin: 0pt 0pt 10pt; text-align: center">
			<span style="font-family: KaiTi_GB2312; font-size: 12pt">表格2</span>
		</p>
		<div style="text-align: center">
			<table cellspacing="0" cellpadding="0"
				style="border-collapse: collapse; margin: 0 auto; width: 426.85pt">
				<tr>
					<td
						style="border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.75pt; border-left-color: #000000; border-left-style: solid; border-left-width: 0.75pt; border-right-color: #000000; border-right-style: solid; border-right-width: 0.75pt; border-top-color: #000000; border-top-style: solid; border-top-width: 0.75pt; padding-left: 5.03pt; padding-right: 5.03pt; vertical-align: top; width: 60.2pt"><p
							style="font-size: 10.5pt; line-height: 115%; margin: 0pt 0pt 10pt; orphans: 0; text-align: center; widows: 0">
							<span
								style="font-family: KaiTi_GB2312; font-size: 10.5pt; vertical-align: baseline">序号</span>
						</p></td>
					<td
						style="border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.75pt; border-left-color: #000000; border-left-style: solid; border-left-width: 0.75pt; border-right-color: #000000; border-right-style: solid; border-right-width: 0.75pt; border-top-color: #000000; border-top-style: solid; border-top-width: 0.75pt; padding-left: 5.03pt; padding-right: 5.03pt; vertical-align: top; width: 60.2pt"><p
							style="font-size: 10.5pt; line-height: 115%; margin: 0pt 0pt 10pt; orphans: 0; text-align: center; widows: 0">
							<span
								style="font-family: KaiTi_GB2312; font-size: 10.5pt; vertical-align: baseline">名字</span>
						</p></td>
					<td
						style="border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.75pt; border-left-color: #000000; border-left-style: solid; border-left-width: 0.75pt; border-right-color: #000000; border-right-style: solid; border-right-width: 0.75pt; border-top-color: #000000; border-top-style: solid; border-top-width: 0.75pt; padding-left: 5.03pt; padding-right: 5.03pt; vertical-align: top; width: 60.2pt"><p
							style="font-size: 10.5pt; line-height: 115%; margin: 0pt 0pt 10pt; orphans: 0; text-align: center; widows: 0">
							<span
								style="font-family: KaiTi_GB2312; font-size: 10.5pt; vertical-align: baseline">性别</span>
						</p></td>
					<td
						style="border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.75pt; border-left-color: #000000; border-left-style: solid; border-left-width: 0.75pt; border-right-color: #000000; border-right-style: solid; border-right-width: 0.75pt; border-top-color: #000000; border-top-style: solid; border-top-width: 0.75pt; padding-left: 5.03pt; padding-right: 5.03pt; vertical-align: top; width: 60.2pt"><p
							style="font-size: 10.5pt; line-height: 115%; margin: 0pt 0pt 10pt; orphans: 0; text-align: center; widows: 0">
							<span
								style="font-family: KaiTi_GB2312; font-size: 10.5pt; vertical-align: baseline">生日</span>
						</p></td>
					<td
						style="border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.75pt; border-left-color: #000000; border-left-style: solid; border-left-width: 0.75pt; border-right-color: #000000; border-right-style: solid; border-right-width: 0.75pt; border-top-color: #000000; border-top-style: solid; border-top-width: 0.75pt; padding-left: 5.03pt; padding-right: 5.03pt; vertical-align: top; width: 60.25pt"><p
							style="font-size: 10.5pt; line-height: 115%; margin: 0pt 0pt 10pt; orphans: 0; text-align: center; widows: 0">
							<span
								style="font-family: KaiTi_GB2312; font-size: 10.5pt; vertical-align: baseline">出生地</span>
						</p></td>
					<td
						style="border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.75pt; border-left-color: #000000; border-left-style: solid; border-left-width: 0.75pt; border-right-color: #000000; border-right-style: solid; border-right-width: 0.75pt; border-top-color: #000000; border-top-style: solid; border-top-width: 0.75pt; padding-left: 5.03pt; padding-right: 5.03pt; vertical-align: top; width: 60.25pt"><p
							style="font-size: 10.5pt; line-height: 115%; margin: 0pt 0pt 10pt; orphans: 0; text-align: center; widows: 0">
							<span
								style="font-family: KaiTi_GB2312; font-size: 10.5pt; vertical-align: baseline">学历</span>
						</p></td>
				</tr>
				<tr>
					<td
						style="border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.75pt; border-left-color: #000000; border-left-style: solid; border-left-width: 0.75pt; border-right-color: #000000; border-right-style: solid; border-right-width: 0.75pt; border-top-color: #000000; border-top-style: solid; border-top-width: 0.75pt; padding-left: 5.03pt; padding-right: 5.03pt; vertical-align: top; width: 60.2pt"><p
							style="font-size: 10.5pt; line-height: 115%; margin: 0pt 0pt 10pt; orphans: 0; text-align: justify; widows: 0">
							<span
								style="font-family: KaiTi_GB2312; font-size: 10.5pt; vertical-align: baseline">--</span>
						</p></td>
					<td
						style="border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.75pt; border-left-color: #000000; border-left-style: solid; border-left-width: 0.75pt; border-right-color: #000000; border-right-style: solid; border-right-width: 0.75pt; border-top-color: #000000; border-top-style: solid; border-top-width: 0.75pt; padding-left: 5.03pt; padding-right: 5.03pt; vertical-align: top; width: 60.2pt"><p
							style="font-size: 10.5pt; line-height: 115%; margin: 0pt 0pt 10pt; orphans: 0; text-align: justify; widows: 0">
							<span
								style="font-family: KaiTi_GB2312; font-size: 10.5pt; vertical-align: baseline">--</span>
						</p></td>
					<td
						style="border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.75pt; border-left-color: #000000; border-left-style: solid; border-left-width: 0.75pt; border-right-color: #000000; border-right-style: solid; border-right-width: 0.75pt; border-top-color: #000000; border-top-style: solid; border-top-width: 0.75pt; padding-left: 5.03pt; padding-right: 5.03pt; vertical-align: top; width: 60.2pt"><p
							style="font-size: 10.5pt; line-height: 115%; margin: 0pt 0pt 10pt; orphans: 0; text-align: justify; widows: 0">
							<span
								style="font-family: KaiTi_GB2312; font-size: 10.5pt; vertical-align: baseline">--</span>
						</p></td>
					<td
						style="border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.75pt; border-left-color: #000000; border-left-style: solid; border-left-width: 0.75pt; border-right-color: #000000; border-right-style: solid; border-right-width: 0.75pt; border-top-color: #000000; border-top-style: solid; border-top-width: 0.75pt; padding-left: 5.03pt; padding-right: 5.03pt; vertical-align: top; width: 60.2pt"><p
							style="font-size: 10.5pt; line-height: 115%; margin: 0pt 0pt 10pt; orphans: 0; text-align: justify; widows: 0">
							<span
								style="font-family: KaiTi_GB2312; font-size: 10.5pt; vertical-align: baseline">--</span>
						</p></td>
					<td
						style="border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.75pt; border-left-color: #000000; border-left-style: solid; border-left-width: 0.75pt; border-right-color: #000000; border-right-style: solid; border-right-width: 0.75pt; border-top-color: #000000; border-top-style: solid; border-top-width: 0.75pt; padding-left: 5.03pt; padding-right: 5.03pt; vertical-align: top; width: 60.25pt"><p
							style="font-size: 10.5pt; line-height: 115%; margin: 0pt 0pt 10pt; orphans: 0; text-align: justify; widows: 0">
							<span
								style="font-family: KaiTi_GB2312; font-size: 10.5pt; vertical-align: baseline">--</span>
						</p></td>
					<td
						style="border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.75pt; border-left-color: #000000; border-left-style: solid; border-left-width: 0.75pt; border-right-color: #000000; border-right-style: solid; border-right-width: 0.75pt; border-top-color: #000000; border-top-style: solid; border-top-width: 0.75pt; padding-left: 5.03pt; padding-right: 5.03pt; vertical-align: top; width: 60.25pt"><p
							style="font-size: 10.5pt; line-height: 115%; margin: 0pt 0pt 10pt; orphans: 0; text-align: justify; widows: 0">
							<span
								style="font-family: KaiTi_GB2312; font-size: 10.5pt; vertical-align: baseline">--</span>
						</p></td>
				</tr>
			</table>
		</div>
		<p
			style="font-size: 10.5pt; line-height: 115%; margin: 0pt 0pt 10pt; orphans: 0; text-align: justify; widows: 0">
			<span style="font-family: KaiTi_GB2312; font-size: 10.5pt">&#xa0;</span>
		</p>
	</div>
	
</body>
</html>